package lambda.lj1;

import java.util.Collection;
import java.util.List;
import java.util.Set;

/**
 * @file:
 * @version:
 * @Description: 代码目的，作用，如何工作
 * @author: 李津
 * @date: 2021-05-07 16:04
 * 本代码要注意的事项、备注事项等
 */


public class OutstandingClass {
    private String name;
    private Set<Student> students;

    public OutstandingClass() {
    }

    public OutstandingClass(String name, Set<Student> students) {
        this.name = name;
        this.students = students;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set<Student> getStudents() {
        return students;
    }

    public void setStudents(Set<Student> students) {
        this.students = students;
    }

    @Override
    public String toString() {
        return "OutstandingClass{" +
                "name='" + name + '\'' +
                ", students=" + students +
                '}';
    }
}
